package com.ywqf_api.enums;

public enum WechatPayEnum {
    FAILED(false,"系统异常"),
    WRONG_PRICE_ID(false,"错误的店铺价格类型"),
    SUCCESS(true,"生成订单成功");

    private boolean state;
    private String msg;
    WechatPayEnum(boolean code, String msg){
        this.state = code;
        this.msg = msg;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
